import './js/start'
import './js/image'
import './js/font'
import App from '@/react/app'
import React from 'react'
import ReactDOM from 'react-dom'
import VueApp from '@/vue/app'
import Vue from 'vue'
import axios from 'axios'
import './ts'

ReactDOM.render(<App />, document.getElementById('app'))
new Vue({
    render: h => h(VueApp)
}).$mount('#vue-root')

new Promise((resolve, reject) => {
    resolve(111)
}).then(data => {
    console.log(data);
})

if (module.hot) {
    module.hot.accept('./js/image.js', function() {
    console.log('Accepting the updated printMe module!');
   })
}

// axios({
//     method: 'get',
//     url: '/api',
    
// }).then(data => {
//     console.log(data)
// }) 